package com.abss.vote.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.abss.vote.model.Message;

import java.util.List;

@Mapper
@Repository
public interface MessageMapper {

    Integer addMessage(Message message);

    List<Message> getAllMessages();
}
